package com.zbc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 启动类
 */
@SpringBootApplication
@MapperScan("com.zbc.mapper")
@EnableAspectJAutoProxy(exposeProxy = true) // 开启 AOP 功能，通过代理对象来实现 AOP 功能。
@EnableAsync    // 开启异步方法调用功能，通过 @Async 注解来标记异步方法。
public class CloudImageLibraryApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudImageLibraryApplication.class, args);
    }
}